<?php

namespace app\api\model;

use think\Model;

class UserEquity extends Model
{
    protected $hidden = ['createtime', 'updatetime', 'deletetime', 'pivot', 'weigh'];

    public function getImageAttr($value)
    {
        return $value ? request()->domain().$value : '';
    }
}
